Before a file can be compiled, the project settings for the file need to specify the command to be executed on the server in order to perform a compile. Programmer Studio imposes no restriction on what commands are executed, as it is the responsibility of the developer to ensure the command is valid and can run without further user intervention.
To set the compile command for a project file
From the project workspace tree view, select the file
From the Project menu, select Settings
In the project settings dialog box, select the Compile tab
Click the Customize compile command box
In the Customize compile command field, enter the command(s) that are to be executed to compile this file.
Click OK
Note |
All commands are executed with the fileÆs location as the current working directory. |
Once a compile command has been assigned to a project file there are two ways to compile the file; either by right-clicking on the file in the project workspace tree view or, if the file is the current active document, choosing compile from the Build menu.
By default, Programmer Studio will automatically save all the files that have been changed before compiling. This is done to ensure any errors or warnings generated by the compiler can be correctly identified in the Code Editor.
See Also